/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.cdp.web.component.metadata;

/**
 * @author Kaixuan Shi
 * @version 0.1
 */
public final class ComponentConstant {

    public static final String WEB_COMPONENT = "WebComponent";
    public static final String CLASS_VERSION = "classVersion";
    public static final String IS_COMMON = "isCommon";
    public static final String FORM_CODE = "formCode";

    public static final class metadataExtendPropertyField {
        public static final String IS_COMMON = "IsCommon";
        public static final String FORM_CODE = "FormCode";
    }

    public static final class parameterField {
        public static final String ID = "Id";
        public static final String PARAM_TYPE = "paramType";
        public static final String IS_RET_VAL = "isRetVal";
    }

    public static final class oldComponentField {
        public static final String ID = "Id";
        public static final String CODE = "Code";
        public static final String DESCRIPTION = "Description";
        public static final String SOURCE = "Source";
        public static final String OPERATIONS = "Operations";
        public static final String IS_COMMON = "IsCommon";
        public static final String CLASS_NAME = "ClassName";
        public static final String FORM_CODE = "FormCode";
    }

    public static final class oldOperationField {
        public static final String ID = "Id";
        public static final String CODE = "Code";
        public static final String NAME = "Name";
        public static final String DESCRIPTION = "Description";
        public static final String PARAMETERS = "Parameters";
    }

    public static final class oldParameterField {
        public static final String ID = "Id";
        public static final String CODE = "Code";
        public static final String NAME = "Name";
        public static final String DESCRIPTION = "Description";
        public static final String ParamType = "ParameterType";
        public static final String IS_RET_VAL = "IsRetVal";
    }
}
